package com.m1905hd.user.service;

import com.m1905hd.common.util.Page;

import java.util.Map;

/**
 * @author weiwei.huang
 * @email ihuangweiwei@163.com
 * @date 15/4/2
 */
public interface BaseService<T> {

    T create(T t);

    T update(T t);

    boolean delete(int id);

    T find(int id);

    Page list(Map<String, Object> query, int page, int size);
}
